package com.heihei.entity.res;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.heihei.entity.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 标签表
 * </p>
 *
 * @author duanhengfei
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_res_tag")
public class ResTagEntity extends BaseEntity<ResTagEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标签名称")
    private String tagName;

    @Override
    protected Serializable pkVal() {
        return this.getId();
    }

}
